﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Vaccine.API.Repositories;

namespace Vaccine.API.Infrastructure.EntityConfigurations
{
    public class VaccineInfoEntityTypeConfiguration : IEntityTypeConfiguration<VaccineInfo>
    {
        public void Configure(EntityTypeBuilder<VaccineInfo> builder)
        {
            builder.ToTable("VaccineInfos");

            builder.HasKey(o => o.Id);
        }
    }
}
